<?php /* Smarty version Smarty-3.1.7, created on 2012-05-23 11:24:31
         compiled from "/home/fengtopvf9einvglt5ozp/wwwroot/magicube/view/templates/header.tpl" */ ?>
<?php /*%%SmartyHeaderCode:1396024934f74267b3d7462-59120149%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '061677a03472659d8c32509d55a244ee349eb128' => 
    array (
      0 => '/home/fengtopvf9einvglt5ozp/wwwroot/magicube/view/templates/header.tpl',
      1 => 1337743468,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1396024934f74267b3d7462-59120149',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.7',
  'unifunc' => 'content_4f74267b56657',
  'variables' => 
  array (
    'FTindex_CHARSET' => 0,
    'navtitle' => 0,
    'setting' => 0,
    'FTforum_VERSION' => 0,
    'FTmagicube_URL' => 0,
    'theme' => 0,
    'newpms' => 0,
    'FENGTOP_URL' => 0,
    'FTforum_URL' => 0,
    'WIKI_URL' => 0,
    'user' => 0,
    'lang' => 0,
    'adminlogin' => 0,
    'referer' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f74267b56657')) {function content_4f74267b56657($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->tpl_vars['FTindex_CHARSET']->value;?>
" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo $_smarty_tpl->tpl_vars['navtitle']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['setting']->value['site_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['setting']->value['seo_title'];?>
 - 魔方 - 科技改变生活!</title>
<?php echo $_smarty_tpl->tpl_vars['setting']->value['seo_headers'];?>

<meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['setting']->value['seo_keywords'];?>
" />
<meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['setting']->value['seo_description'];?>
" />
<meta name="generator" content="FengTop <?php echo $_smarty_tpl->tpl_vars['FTforum_VERSION']->value;?>
" />
<meta name="author" content="FengTop Team and FengTop UI team" />
<meta name="copyright" content="2009-2012 FengTop.net" />
<base href="<?php echo $_smarty_tpl->tpl_vars['FTmagicube_URL']->value;?>
/" />
<link href="style/<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/FTindex.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="js/jquery-1.6.4.js"></script>
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript">
<?php if ($_smarty_tpl->tpl_vars['newpms']->value[0]){?>
	var titlestate = 0, clock, flashingtime = 20;
	var oldtitle = "<?php echo $_smarty_tpl->tpl_vars['navtitle']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['setting']->value['site_name'];?>
 <?php echo $_smarty_tpl->tpl_vars['setting']->value['seo_title'];?>
 - Powered by FENGTOP!";

	function changeTitle(){
		if(titlestate%2 == 0){
			document.title='【新消息】'+oldtitle;
		}else{
			document.title='【　　　】'+oldtitle;
		}
		titlestate++;
		if(titlestate == flashingtime){
			clearInterval(clock);
			document.title = oldtitle;
		}
	}

	clock = setInterval("changeTitle()", 1000);
<?php }?>
</script>
</head>
<body>
<div id="topnav" class="bg_red">
	<div id="topnav_l">
		<ol class="topnav_ol">
			<li class="l bor_no"><a href="<?php echo $_smarty_tpl->tpl_vars['FENGTOP_URL']->value;?>
" target="_bank">首页</a></li>
			<li class="l bor_no"><a href="<?php echo $_smarty_tpl->tpl_vars['FTforum_URL']->value;?>
" target="_bank">论坛</a></li>
			<li class="l bor_no"><a href="<?php echo $_smarty_tpl->tpl_vars['WIKI_URL']->value;?>
" target="_bank">魔方Wiki</a></li>
		</ol>
	</div>
	<div id="topnav_r">
		<ol class="topnav_ol">
			<?php if ($_smarty_tpl->tpl_vars['user']->value['groupid']=='1'){?>
				<li name="login" class="l bor_no"><a href="<?php echo $_smarty_tpl->tpl_vars['FENGTOP_URL']->value;?>
/magicube/index.php?user-login"><?php echo $_smarty_tpl->tpl_vars['lang']->value['login'];?>
</a></li>
				<li name="login" class="l bor_no">|</li>
				<li name="register" class="l bor_no"><a href="<?php echo $_smarty_tpl->tpl_vars['FENGTOP_URL']->value;?>
/index.php?channel=user&what=register" ><?php echo $_smarty_tpl->tpl_vars['lang']->value['register'];?>
</a></li>
			<?php }else{ ?>
				<li class="l bor_no pad10"><?php echo $_smarty_tpl->tpl_vars['lang']->value['headerTip'];?>
<a href="index.php?user-space-<?php echo $_smarty_tpl->tpl_vars['user']->value['uid'];?>
"><?php echo $_smarty_tpl->tpl_vars['user']->value['username'];?>
</a></li>
				<?php if ($_smarty_tpl->tpl_vars['user']->value['password']!=''){?>
				<li class="l bor_no">|</li>
				<li class="l bor_no"><img alt="FTforum" style="vertical-align:middle;" src="style/default/noshine.gif"/><a href="index.php?pms">消息</a></li>
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a  href="index.php?user-profile" target="_bank"><?php echo $_smarty_tpl->tpl_vars['lang']->value['selfManage'];?>
</a></li>
				<?php if ($_smarty_tpl->tpl_vars['adminlogin']->value){?>
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a href="index.php?admin_main" target="_bank"><?php echo $_smarty_tpl->tpl_vars['lang']->value['sysConfig'];?>
</a></li>
				<?php }?>
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a href="<?php echo $_smarty_tpl->tpl_vars['FENGTOP_URL']->value;?>
/index.php?user-logout<?php echo $_smarty_tpl->tpl_vars['referer']->value;?>
" ><?php echo $_smarty_tpl->tpl_vars['lang']->value['logout'];?>
</a></li>
				<?php }else{ ?>
				<li class="l bor_no"><a href="index.php?user-login" ><?php echo $_smarty_tpl->tpl_vars['lang']->value['active'];?>
</a></li>
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a href="<?php echo $_smarty_tpl->tpl_vars['FENGTOP_URL']->value;?>
/index.php?user-logout<?php echo $_smarty_tpl->tpl_vars['referer']->value;?>
" ><?php echo $_smarty_tpl->tpl_vars['lang']->value['logout'];?>
</a></li>
				<?php }?>
			<?php }?>
			<li class="l bor_no"><img alt="FTforumhelp" style="vertical-align:middle;" src="style/default/help.png" /><a href="index.php?doc-innerlink-<?php echo $_smarty_tpl->tpl_vars['lang']->value['help'];?>
" target="_bank"><?php echo $_smarty_tpl->tpl_vars['lang']->value['help'];?>
</a></li>
		</ol>
	</div>
</div>
<div id="logo" >
	<img id="logoimg" src="style/default/logo.jpg" width="182" height="66" alt="FengTop" />
</div>
<div id="nav">
	<ul>
		<li><a href="<?php echo $_smarty_tpl->tpl_vars['FENGTOP_URL']->value;?>
">首页</a></li>
		<li><a href="<?php echo $_smarty_tpl->tpl_vars['FTforum_URL']->value;?>
">论坛</a></li>
		<li><a href="<?php echo $_smarty_tpl->tpl_vars['WIKI_URL']->value;?>
">魔方Wiki</a></li>
	</ul>
	<SCRIPT language=javascript>
	function g(formname)    {
		var url = "http://www.baidu.com/baidu";
		if (formname.s[1].checked) {
			formname.ct.value = "2097152";
		}
		else {
			formname.ct.value = "0";
		}
		formname.action = url;
		return true;
	}
	</SCRIPT>
	<div id="baidusearch" class="r">
	<form name="f1" onsubmit="return g(this)" >
		<table bgcolor="#E80024" style="font-size:9pt;">
			<tr>
				<td>
					<input name=word size="30" maxlength="100">
					<input name=ie type=hidden value=utf-8>
					<input type="submit" value="百度搜索">
					<input name=tn type=hidden value="bds">
					<input name=cl type=hidden value="3">
					<input name=ct type=hidden>
					<input name=si type=hidden value="www.fengtop.net">
					<input name=s type=radio> 互联网
					<input name=s type=radio checked>FENGTOP
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>
<?php }} ?>